﻿using System;
using System.Collections.Generic;
using ExpenseSystem.Common.BaseModel;

namespace ExpenseSystem.Model
{
    [TableName("SYS_ROLESITE")]
    public class RoleSiteModel:SystemModel
    {
        private long _siteid;

        private long _roleid;
        public virtual long RoleId
        {
            get { return _roleid; }
            set
            {
                if (_roleid == value)
                    return;
                _roleid = value;
                if (!PropertyUpdated.Contains("RoleId"))
                    PropertyUpdated.Add("RoleId");
            }
        }
        public virtual long SiteId
        {
            get { return _siteid; }
            set
            {
                if (_siteid == value)
                    return;
                _siteid = value;
                if (!PropertyUpdated.Contains("SiteId"))
                    PropertyUpdated.Add("SiteId");
            }
        }
    }
}
